package com.huangpeng.designmodel.entity;

import java.io.Serializable;

/**
 * @Author huangpeng
 * @Title 报文实体类
 * @Package
 * @Date 2020/10/21 10:49
 * @Description 报文实体类
 * @Version 1.0
 */
public class Receipt implements Serializable {
    public Receipt(String receiptId, String receiptType, String receiptMessage) {
        this.receiptId = receiptId;
        this.receiptType = receiptType;
        this.receiptMessage = receiptMessage;
    }

    //报文id
    private String receiptId;
    //报文类型
    private String receiptType;
    //报文消息
    private String receiptMessage;

    public String getReceiptId() {
        return receiptId;
    }

    public void setReceiptId(String receiptId) {
        this.receiptId = receiptId;
    }

    public String getReceiptType() {
        return receiptType;
    }

    public void setReceiptType(String receiptType) {
        this.receiptType = receiptType;
    }

    public String getReceiptMessage() {
        return receiptMessage;
    }

    public void setReceiptMessage(String receiptMessage) {
        this.receiptMessage = receiptMessage;
    }

    @Override
    public String toString() {
        return "Receipt{" +
                "receiptId='" + receiptId + '\'' +
                ", receiptType='" + receiptType + '\'' +
                ", receiptMessage='" + receiptMessage + '\'' +
                '}';
    }
}
